/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.groupa.project1.database;

import com.groupa.project1.database.interfaces.News;

/**
 *
 * @author Alonso
 */
public class NewsClass implements News{
    
    String title; 
    String paragraph[];       
    String picture_path[];
    
    public NewsClass(String title, String paragraph[], String picture_path[]){
        
        this.title=title;
        this.paragraph=paragraph;
        this.picture_path=picture_path;
       
    }
    
    public String getTitle(){
        return title;
    }
    
    public String[] getParagraph(){
        return paragraph;
    }
    
    public String[] getPicture(){
        return picture_path;
    }
    
}
